ams.block("singleBlock", {
    "type": "dropdown",
    "options": {
        "menu": "点击触发下拉",
        "menuItems": [{
            "text": "黄金糕",
            "props": {
                "command": "a",
                "icon": "el-icon-plus"
            }
        }, {
            "text": "狮子头",
            "props": {
                "command": "b",
                "icon": "el-icon-circle-plus"
            }
        }, {
            "text": "螺蛳粉",
            "props": {
                "command": "c",
                "icon": "el-icon-circle-plus-outline"
            }
        }, {
            "text": "双皮奶",
            "props": {
                "command": "d",
                "icon": "el-icon-check"
            }
        }, {
            "text": "蚵仔煎",
            "props": {
                "command": "e",
                "icon": "el-icon-circle-check-outline"
            }
        }]
    },
    "props": {
        "trigger": "click"
    },
    "on": {
        "command": function(o) {
            this.$message("click on item " + o)
        }
    },
    "style": {
        "margin-bottom": "50px"
    }
});